package br.ufc.Bean;

import br.ufc.DAO.IDisciplina;
import br.ufc.DAO.Implements.DisciplinaDAO;
import br.ufc.si.model.Disciplina;

public class DisciplinaBean {
	IDisciplina disciplina = new DisciplinaDAO();
	Disciplina dis = new Disciplina();
	
	public String CadastrarDisciplina(){
		disciplina.save(dis);
		return null;
	}

	public IDisciplina getDisciplina() {
		return disciplina;
	}

	public void setDisciplina(IDisciplina disciplina) {
		this.disciplina = disciplina;
	}

	public Disciplina getDis() {
		return dis;
	}

	public void setDis(Disciplina dis) {
		this.dis = dis;
	}

}
